<%@ page import="qin.com.DataConnection" %><%--
  Created by IntelliJ IDEA.
  User: 123
  Date: 2024/6/27
  Time: 19:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    int id=Integer.parseInt(request.getParameter("id"));

    String sql="delete from chengji where id=?";

    Object[] para=new Object[]{id};

    if(DataConnection.request(sql,para)){


        //跳转到用户列表页面selectusers.jsp

        response.sendRedirect("selectusers.jsp");

    }else{


        out.println("<a href=selectusers.jsp>跳转到用户列表</a>");

    }

%>

%>
</body>
</html>
